package myjava.closures;

public class StudingClosures2 {

   public static void main(String[] args) {

      final String foo = "hello I am a free variable";

      new Thread(new Runnable() {

         public void run() {
            System.out.println(foo);
         }
      }).start();
   }
}
